package com.taxshare.seller.view.vo;

import com.taxshare.tools.annotation.CopyField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName: AlsCancelDetailLogVO
 * @Description:
 * @author: hjh
 * @date: 2021/7/8 9:52
 */
@Data
public class AlsCancelDetailLogVO {
    @ApiModelProperty("uuid")
    private String uuid;

    @ApiModelProperty("Als单据ID")
    private String docId;

    @CopyField(targetName = "goods_name")
    @ApiModelProperty("货物或应税劳务名称")
    private String cargoName;

    @CopyField(targetName = "taxCode")
    @ApiModelProperty("税收分类编码")
    private String cargoCode;

    @CopyField(targetName = "model")
    @ApiModelProperty("规格型号")
    private String itemSpec;

    @CopyField(targetName = "unit")
    @ApiModelProperty("单位")
    private String quantityUnit;

    @CopyField(targetName = "goodsNumber")
    @ApiModelProperty("数量")
    private String quantity;

    @CopyField(targetName = "unitPrice")
    @ApiModelProperty("单价")
    private String unitPriceOutTax;

    @CopyField(targetName = "goodsSum")
    @ApiModelProperty("不含税金额")
    private String amountWithoutTax;

    @CopyField(targetName = "goodTax")
    @ApiModelProperty("税额")
    private String taxAmount;

    @CopyField(targetName = "goodsSumTax")
    @ApiModelProperty("含税金额")
    private String amountWithTax;

    @CopyField(targetName = "taxRateMark")
    @ApiModelProperty("零税率标识（空为正常税率，1，是免税2，是不征税 3普通零税率）")
    private String taxRateFlag;

    @CopyField(targetName = "preferentialMark")
    @ApiModelProperty("优惠政策标识（0无优惠政策 1有优惠政策）")
    private String preferFlag;

    @ApiModelProperty("增值税特殊管理(当preferFlag是1时必填\n" +
            "taxRateFlag为0填写 出口零税，taxRateFlag为1填写 免税，taxRateFlag为2填写 不征税)")
    private String preferMark;

    @ApiModelProperty("税率")
    private String taxRate;

    @ApiModelProperty("发票行性质 0 正常行 1 折扣行 2 被折扣行")
    private String invoiceRowNature;
}
